package com.infotel.prefecture.model;

public class Modele {
    private int id;
    private Type type;
    private Marque marque;
    private String designation;

    public Modele(int id, Type type, Marque marque, String designation) {
        this.id = id;
        this.type = type;
        this.marque = marque;
        this.designation = designation;
    }
    
    public Modele(int id) {
        this.id = id;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public Type getType() {
        return type;
    }

    public void setType(Type type) {
        this.type = type;
    }

    public Marque getMarque() {
        return marque;
    }

    public void setMarque(Marque marque) {
        this.marque = marque;
    }

    public String getDesignation() {
        return designation;
    }

    public void setDesignation(String designation) {
        this.designation = designation;
    }

    @Override
    public String toString() {
        return "Modele [id=" + id + ", type=" + type + ", marque=" + marque
                + ", designation=" + designation + "]";
    }
}
